package com.macro.mall.mapper;

import com.macro.mall.model.BmsPromotionalImg;
import com.macro.mall.model.BmsPromotionalImgExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BmsPromotionalImgMapper {
    long countByExample(BmsPromotionalImgExample example);

    int deleteByExample(BmsPromotionalImgExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsPromotionalImg record);

    int insertSelective(BmsPromotionalImg record);

    List<BmsPromotionalImg> selectByExample(BmsPromotionalImgExample example);

    BmsPromotionalImg selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BmsPromotionalImg record, @Param("example") BmsPromotionalImgExample example);

    int updateByExample(@Param("record") BmsPromotionalImg record, @Param("example") BmsPromotionalImgExample example);

    int updateByPrimaryKeySelective(BmsPromotionalImg record);

    int updateByPrimaryKey(BmsPromotionalImg record);
}